package com.youlai.boot.modules.content.model.form;

import java.io.Serial;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import jakarta.validation.constraints.*;

/**
 * 文章标签关联表单对象
 *
 * @author lz0816
 * @since 2025-02-26 10:09
 */
@Getter
@Setter
@Schema(description = "文章标签关联表单对象")
public class LzArticleTagForm implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "文章id")
    @NotNull(message = "文章id不能为空")
    private Long articleId;

    @Schema(description = "标签id")
    @NotNull(message = "标签id不能为空")
    private Long tagId;


}
